package com.tceasy.gateway.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by zhanghuan on 2016/4/18.
 */
@Controller
@RequestMapping("/send")
public class SendController {

    @RequestMapping("/{dir}/{name}")
    public String to(@PathVariable String dir, @PathVariable String name){
        return "/"+dir+"/"+name;
    }
}
